import Vue from 'vue'
import App from './App'
import controller from './http/controller'
import store from './store' 
import util from './util/util'
// 公用组件
import cuBar2 from './components/single/bar/cu-bar2.vue'
Vue.component('cu-bar2',cuBar2)
import more from './components/single/more/cu-more.vue'
Vue.component('cu-more',more)
import tabbar from './components/single/bar/tabbar.vue';
Vue.component('tabbar',tabbar)
Vue.config.productionTip = false
Vue.prototype.util = util;
Vue.prototype.$controller = controller;
Vue.prototype.$store = store;
App.mpType = 'app'

const app = new Vue({
	store,
	controller,
    ...App
})
app.$mount()
